package com.woniu.sharepark;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
* 启动类
*
* @Author Zongjie.Li
* @Date 2019/6/5
*/
@SpringBootApplication
@MapperScan(value = {"com.woniu.sharepark.platformsystem.log.dao","com.woniu.sharepark.platformsystem.dao","com.woniu.sharepark.leasesystem.common.dao","com.woniu.sharepark.leasesystem.lessor.dao"
        ,"com.woniu.sharepark.propertysystem.dao","com.woniu.sharepark.leasesystem.tenant.dao","com.woniu.sharepark.common.dao"})
@EnableTransactionManagement
@EnableCaching
@EnableScheduling
@ServletComponentScan
public class ShareparkApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShareparkApplication.class, args);
    }

}
